//package com.example.springbootlearn.entity;
//
//import org.springframework.jdbc.core.RowCallbackHandler;
//import org.springframework.jdbc.core.RowMapper;
//
//import java.sql.ResultSet;
//import java.sql.SQLException;
//
///**
// * @author caiji Mr. Li
// * @date 2019/10/27 17:43
// */
//public class UserRowMapper implements RowMapper {
//    @Override
//    public Object mapRow(ResultSet set, int index) throws SQLException {
//        User person = new User(set.getInt("id"), set.getString("name"), set.getString("password"));
//        return person;
//    }
//}
